Skip to content

Read IFC surface styles and preserve physical materials - #58

Merged
mahach666 merged 1 commit into
mainfrom
fix/ifc-surface-colours
Nov 24, 2026
Merged

mahach666 merged 1 commit into
mainfrom
fix/ifc-surface-colours

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Closes #45.

Read direct and wrapped IFC surface styles, Shading and Rendering colours, transparency, and material definition representations. Prefer the geometry's style for display without replacing the assigned construction material used by IDS. If the clipping result has no style, use its first operand's style; use a single layer or profile material as a fallback. IFC save and reopen preserve the assigned material and surface colour without creating extra material records.

@mahach666
mahach666 merged commit 68986b5 into main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IFC2X3 surface colours are lost: IfcSurfaceStyleRendering, IfcPresentationStyleAssignment and material colours are not read

1 participant